//
//  UMengManager.m
//  ZPrograme
//
//  Created by 周成龙 on 16/2/20.
//  Copyright © 2016年. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface UMengManager : NSObject

+ (instancetype)manager;
// QQ登陆
- (void)qqLoginInVC:(UIViewController *)controller;

/**
 *  QQ分享
 *
 *  @param controller  默认 self
 *  @param shareURL    跳转 URl
 *  @param urlResource 图片、音乐、视频等url资源
 *  @param title       分享标题
 *  @param shareText   分享的文字内容
 */
- (void)shareQQWithVC:(UIViewController *)controller
         withShareURL:(NSString *)shareURL
      withUrlResource:(NSString *)urlResource
       withShareTitle:(NSString *)title
        withShareText:(NSString *)shareText;
/**
 *  微信分享
 *
 *  @param controller  默认 self
 *  @param shareText   分享的文字内容
 *  @param shareURL    跳转 URl
 *  @param shareImage  分享的图片,可以传入UIImage类型或者NSData类型
 *  @param urlResource 图片、音乐、视频等url资源
 */
- (void)shareWeiXinWithVC:(UIViewController *)controller
             withShareURL:(NSString *)shareURL
          withUrlResource:(NSString *)urlResource
           withShareTitle:(NSString *)title
            withShareText:(NSString *)shareText;

@end
